package com.usdt.system.domain.resp;

import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Tag(name = "到访记录VO")
public class VisitRecordRespVO {

	@Schema(title = "id")
	private Integer id;
	
	@Schema(title = "到访目的")
    private String reason;

	@Schema(title = "是否预约  0：否  1：是")
    private Boolean isReservation;

	@Schema(title = "到访时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

	@Schema(title = "到访详情")
    private String content;
	
	@Schema(title = "客户关注点")
	private String focus;
	
	@Schema(title = "第几次")
	private String numStr;
	
	@Schema(title = "创建人id")
	private String createBy;
	
	@Schema(title = "创建人")
	private String createByName;
	
	@Schema(title = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
	
	@Schema(title = "下次跟进时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime nextFollowUpTime;
}
